package gr.aueb.cs.mscis.chordroid.app;

public class FileData extends FileChunk {

	private static final long serialVersionUID = 1L;
	private byte[] data;
	
	public FileData(String hash, byte[] data) {
		super(hash);
		this.setData(data);
	}

	// fill-the-gap-constructor
	public FileData() {
		super(new String());
		this.setData(new byte[1024]);
	}

	public void setData(byte[] data) {
		this.data = data;
	}

	public byte[] getData() {
		return data;
	}

}
